package cn.pegasus.teamwork.advertisement.service;


import java.util.Map;

import cn.iyizhan.teamwork.base.service.BaseService;
import cn.iyizhan.teamwork.base.util.PageObject;
import cn.pegasus.teamwork.advertisement.entity.BussAdvertInfo;
import cn.pegasus.teamwork.advertisement.mapper.BussAdvertInfoMapper;

/**
 * @author sine
 * @version 
 */
public interface BussAdvertInfoService extends BaseService<BussAdvertInfo,BussAdvertInfoMapper> {

	//分页查询
	public PageObject<BussAdvertInfo> PageList(Map<String, Object> map);
	
	//新增
	public void addAdv(Long userId,BussAdvertInfo info);
	
	//修改
	public void updateAdv(Long userId,BussAdvertInfo info);
	
	//下架
	public void deleteAdv(Long userId,Integer id);
	
	//查询详情
	public BussAdvertInfo findInfo(Integer id);
    
}
